package com.ruoyi.project.manhua.newXml;

import com.ruoyi.project.manhua.comment.domain.MhComment;
import com.ruoyi.project.manhua.comment.mapper.MhCommentMapper;
import com.ruoyi.project.manhua.webLook.entity.MhWebComment;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * 漫画评论
Mapper接口
 * 
 * @author yuan
 * @date 2021-01-27
 */
public interface MhCommentNewMapper extends MhCommentMapper
{

    /**
     * 漫画评论 web段数据返回
     * @param comment
     * @return
     */
    List<MhComment> selectWebMhCommentList(MhWebComment comment);

    /**
     * 查询漫画数量
     * @param id
     * @return
     */
    Integer selectCommentCount(@Param("id") Long id);

}
